package com.hk.jmm.db;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Id;

/**
 * 用户表
 */
@Entity
public class UserInfo {

    @Id
    private String userId;
    private String createBy;
    private String createTime;
    private String userName;
    private String nickName;
    private String email;
    private int deptId;
    private String status;
    private String phonenumber;
    private String openId;
    private String offlinePassword;




    @Generated(hash = 587497243)
    public UserInfo(String userId, String createBy, String createTime,
            String userName, String nickName, String email, int deptId,
            String status, String phonenumber, String openId,
            String offlinePassword) {
        this.userId = userId;
        this.createBy = createBy;
        this.createTime = createTime;
        this.userName = userName;
        this.nickName = nickName;
        this.email = email;
        this.deptId = deptId;
        this.status = status;
        this.phonenumber = phonenumber;
        this.openId = openId;
        this.offlinePassword = offlinePassword;
    }




    @Generated(hash = 1279772520)
    public UserInfo() {
    }




    public UserInfo isAll() {
        nickName = "All";
        openId = "";
        userId = "All";
        return this;
    }




    public String getUserId() {
        return this.userId;
    }




    public void setUserId(String userId) {
        this.userId = userId;
    }




    public String getCreateBy() {
        return this.createBy;
    }




    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }




    public String getCreateTime() {
        return this.createTime;
    }




    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }




    public String getUserName() {
        return this.userName;
    }




    public void setUserName(String userName) {
        this.userName = userName;
    }




    public String getNickName() {
        return this.nickName;
    }




    public void setNickName(String nickName) {
        this.nickName = nickName;
    }




    public String getEmail() {
        return this.email;
    }




    public void setEmail(String email) {
        this.email = email;
    }




    public int getDeptId() {
        return this.deptId;
    }




    public void setDeptId(int deptId) {
        this.deptId = deptId;
    }




    public String getStatus() {
        return this.status;
    }




    public void setStatus(String status) {
        this.status = status;
    }




    public String getPhonenumber() {
        return this.phonenumber;
    }




    public void setPhonenumber(String phonenumber) {
        this.phonenumber = phonenumber;
    }




    public String getOpenId() {
        return this.openId;
    }




    public void setOpenId(String openId) {
        this.openId = openId;
    }




    public String getOfflinePassword() {
        return this.offlinePassword;
    }




    public void setOfflinePassword(String offlinePassword) {
        this.offlinePassword = offlinePassword;
    }
}
